package com.qzdsoft.erpcloud.domain.proj;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MaterialAliasExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MaterialAliasExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingIsNull() {
            addCriterion("material_coding is null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingIsNotNull() {
            addCriterion("material_coding is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingEqualTo(String value) {
            addCriterion("material_coding =", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingNotEqualTo(String value) {
            addCriterion("material_coding <>", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingGreaterThan(String value) {
            addCriterion("material_coding >", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingGreaterThanOrEqualTo(String value) {
            addCriterion("material_coding >=", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingLessThan(String value) {
            addCriterion("material_coding <", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingLessThanOrEqualTo(String value) {
            addCriterion("material_coding <=", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingLike(String value) {
            addCriterion("material_coding like", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingNotLike(String value) {
            addCriterion("material_coding not like", value, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingIn(List<String> values) {
            addCriterion("material_coding in", values, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingNotIn(List<String> values) {
            addCriterion("material_coding not in", values, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingBetween(String value1, String value2) {
            addCriterion("material_coding between", value1, value2, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andMaterialCodingNotBetween(String value1, String value2) {
            addCriterion("material_coding not between", value1, value2, "materialCoding");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdIsNull() {
            addCriterion("supplier_customer_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdIsNotNull() {
            addCriterion("supplier_customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdEqualTo(Integer value) {
            addCriterion("supplier_customer_id =", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdNotEqualTo(Integer value) {
            addCriterion("supplier_customer_id <>", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdGreaterThan(Integer value) {
            addCriterion("supplier_customer_id >", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_customer_id >=", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdLessThan(Integer value) {
            addCriterion("supplier_customer_id <", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_customer_id <=", value, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdIn(List<Integer> values) {
            addCriterion("supplier_customer_id in", values, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdNotIn(List<Integer> values) {
            addCriterion("supplier_customer_id not in", values, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_customer_id between", value1, value2, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_customer_id not between", value1, value2, "supplierCustomerId");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeIsNull() {
            addCriterion("supplier_customer_type is null");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeIsNotNull() {
            addCriterion("supplier_customer_type is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeEqualTo(Boolean value) {
            addCriterion("supplier_customer_type =", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeNotEqualTo(Boolean value) {
            addCriterion("supplier_customer_type <>", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeGreaterThan(Boolean value) {
            addCriterion("supplier_customer_type >", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("supplier_customer_type >=", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeLessThan(Boolean value) {
            addCriterion("supplier_customer_type <", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeLessThanOrEqualTo(Boolean value) {
            addCriterion("supplier_customer_type <=", value, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeIn(List<Boolean> values) {
            addCriterion("supplier_customer_type in", values, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeNotIn(List<Boolean> values) {
            addCriterion("supplier_customer_type not in", values, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeBetween(Boolean value1, Boolean value2) {
            addCriterion("supplier_customer_type between", value1, value2, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andSupplierCustomerTypeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("supplier_customer_type not between", value1, value2, "supplierCustomerType");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingIsNull() {
            addCriterion("sc_material_coding is null");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingIsNotNull() {
            addCriterion("sc_material_coding is not null");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingEqualTo(String value) {
            addCriterion("sc_material_coding =", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingNotEqualTo(String value) {
            addCriterion("sc_material_coding <>", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingGreaterThan(String value) {
            addCriterion("sc_material_coding >", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingGreaterThanOrEqualTo(String value) {
            addCriterion("sc_material_coding >=", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingLessThan(String value) {
            addCriterion("sc_material_coding <", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingLessThanOrEqualTo(String value) {
            addCriterion("sc_material_coding <=", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingLike(String value) {
            addCriterion("sc_material_coding like", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingNotLike(String value) {
            addCriterion("sc_material_coding not like", value, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingIn(List<String> values) {
            addCriterion("sc_material_coding in", values, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingNotIn(List<String> values) {
            addCriterion("sc_material_coding not in", values, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingBetween(String value1, String value2) {
            addCriterion("sc_material_coding between", value1, value2, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialCodingNotBetween(String value1, String value2) {
            addCriterion("sc_material_coding not between", value1, value2, "scMaterialCoding");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameIsNull() {
            addCriterion("sc_material_name is null");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameIsNotNull() {
            addCriterion("sc_material_name is not null");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameEqualTo(String value) {
            addCriterion("sc_material_name =", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameNotEqualTo(String value) {
            addCriterion("sc_material_name <>", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameGreaterThan(String value) {
            addCriterion("sc_material_name >", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameGreaterThanOrEqualTo(String value) {
            addCriterion("sc_material_name >=", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameLessThan(String value) {
            addCriterion("sc_material_name <", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameLessThanOrEqualTo(String value) {
            addCriterion("sc_material_name <=", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameLike(String value) {
            addCriterion("sc_material_name like", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameNotLike(String value) {
            addCriterion("sc_material_name not like", value, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameIn(List<String> values) {
            addCriterion("sc_material_name in", values, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameNotIn(List<String> values) {
            addCriterion("sc_material_name not in", values, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameBetween(String value1, String value2) {
            addCriterion("sc_material_name between", value1, value2, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialNameNotBetween(String value1, String value2) {
            addCriterion("sc_material_name not between", value1, value2, "scMaterialName");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecIsNull() {
            addCriterion("sc_material_spec is null");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecIsNotNull() {
            addCriterion("sc_material_spec is not null");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecEqualTo(String value) {
            addCriterion("sc_material_spec =", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecNotEqualTo(String value) {
            addCriterion("sc_material_spec <>", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecGreaterThan(String value) {
            addCriterion("sc_material_spec >", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecGreaterThanOrEqualTo(String value) {
            addCriterion("sc_material_spec >=", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecLessThan(String value) {
            addCriterion("sc_material_spec <", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecLessThanOrEqualTo(String value) {
            addCriterion("sc_material_spec <=", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecLike(String value) {
            addCriterion("sc_material_spec like", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecNotLike(String value) {
            addCriterion("sc_material_spec not like", value, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecIn(List<String> values) {
            addCriterion("sc_material_spec in", values, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecNotIn(List<String> values) {
            addCriterion("sc_material_spec not in", values, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecBetween(String value1, String value2) {
            addCriterion("sc_material_spec between", value1, value2, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andScMaterialSpecNotBetween(String value1, String value2) {
            addCriterion("sc_material_spec not between", value1, value2, "scMaterialSpec");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIsNull() {
            addCriterion("creator_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIsNotNull() {
            addCriterion("creator_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdEqualTo(String value) {
            addCriterion("creator_id =", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotEqualTo(String value) {
            addCriterion("creator_id <>", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThan(String value) {
            addCriterion("creator_id >", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("creator_id >=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThan(String value) {
            addCriterion("creator_id <", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThanOrEqualTo(String value) {
            addCriterion("creator_id <=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLike(String value) {
            addCriterion("creator_id like", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotLike(String value) {
            addCriterion("creator_id not like", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIn(List<String> values) {
            addCriterion("creator_id in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotIn(List<String> values) {
            addCriterion("creator_id not in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdBetween(String value1, String value2) {
            addCriterion("creator_id between", value1, value2, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotBetween(String value1, String value2) {
            addCriterion("creator_id not between", value1, value2, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("ctime is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("ctime is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Date value) {
            addCriterion("ctime =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Date value) {
            addCriterion("ctime <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Date value) {
            addCriterion("ctime >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ctime >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Date value) {
            addCriterion("ctime <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Date value) {
            addCriterion("ctime <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Date> values) {
            addCriterion("ctime in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Date> values) {
            addCriterion("ctime not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Date value1, Date value2) {
            addCriterion("ctime between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Date value1, Date value2) {
            addCriterion("ctime not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}